<?php
class Userinfo extends CI_Model {
	
	function getAllInfo() {
		$data = $this->db->query("SELECT * FROM test");
		return $data;
	}
	
}